package com.example.demo.mapper;

import java.util.*;
import com.example.demo.model.*;
import org.apache.ibatis.annotations.Select;

public interface CityMapper {
	
	@Select("select * from world.city")
	List<City> getAllCity();
	
	@Select("Select * from world.city where id=#{id}")
	City getCityById(Integer id);
	

}
